Request and Response Message Validation for Rules

Stay - Comtrol integration is enhanced to provide additional validation for request and response message fields when configuring or modifying rules, matchers, and actions. The enhancement ensures that only fields applicable to the message types selected in a rule set are available for configuration.

For request rules, matchers and actions display only request fields that are available across the applicable message types. Response fields are not available for request matchers or actions.

For response rules, users can configure both request and response fields, based on the associated request-response message mapping. Response matchers display fields applicable to the selected response message types, while request fields are available when they are present in the corresponding linked request message types.

When configuring actions for response rules:

  • The Action field displays only response fields applicable to the selected response message types.

  • The Input field supports both request and response fields.

  • Request input fields are limited to fields available in the corresponding linked request message types.

  • Response input fields are limited to fields available in the response message types associated with the rule set.

These validations are also applied when existing matchers and actions are modified, ensuring that only fields applicable to the associated request or response message types are available for selection.